 <?php if(isset($this->status)){ ?>
 <div class="alert alert-success">
 		<strong>Cảm ơn,<?php echo $this->status?>!</strong>Chúng tôi sẽ liên lạc trong thời gian sớm nhất có thể.
 </div>
 <?php }else{ ?>
 <div class="panel panel-primary">
                 <div class="panel-heading">Đăng Ký</div>
                <div class="panel-body">
                 <form class="form-horizontal"  method="post" onsubmit="return validateRegister();" role="form">
                        <div class="form-group has-success has-feedback">
                            <label for="inputEmail1" class="col-sm-2 control-label">Tên Khóa Học</label>
                            <div class="col-sm-10">
                              <select id="inputEmail1" name="course"class="form-control">
                              <?php
										foreach ($this->pages as $page){
											echo "<option value='".$page["id"]."'>".$page["title"]."</option>";
										}
                              ?>
                             </select>
                             <span class="glyphicon  glyphicon-ok form-control-feedback"></span>
                            </div>
                      </div>
                      <div class="form-group has-feedback">
                        <label for="inputEmail3" class="col-sm-2 control-label">Họ Và Tên</label>
                        <div class="col-sm-10">
                          <input type="text" name="name" class="form-control" id="inputEmail3" placeholder="Họ và tên"/>
                              <span class="glyphicon  form-control-feedback"></span>
                        </div>
                      </div>
                      <div class="form-group has-feedback">
                        <label for="inputPassword4"  class="col-sm-2 control-label">Số Điện Thoại</label>
                        <div class="col-sm-10">
                          <input type="tel" name="phone" class="form-control" id="inputPassword4" placeholder="090"/>
                              <span class="glyphicon  form-control-feedback"></span>
                        </div>
                      </div>
                      <div class="form-group has-feedback">
                            <label for="inputEmail5" class="col-sm-2 control-label">Nội Dung</label>
                            <div class="col-sm-10">
                              <textarea class="form-control" name="comment" id="inputEmail5" rows="3"></textarea>
                               <span class="glyphicon  form-control-feedback"></span>
                            </div>
                      </div>
                      <div class="form-group ">
                        <div class="col-sm-offset-2 col-sm-10">
                          <button type="submit" class="btn btn-danger">Đăng Ký</button>
                        </div>
                      </div>
                    </form>
                 </div>
</div>
<?php }?>
<div class="panel panel-danger">
  <div class="panel-heading">
    <h3 class="panel-title">Địa Chỉ Liện Lạc Trực Tiếp</h3>
  </div>
  <div class="panel-body">
    <div class="alert alert-success">
    	<h3><b>Công Ty Cổ Phần  Giáo Dục Việt RDC</b></h3>
     	 <h4>Đ/C: Số 855/9 Quang Trung, P.12, Q.Gò Vấp, Tp.HCM</h4>
        <h4>ĐT: (08)66.827.780 - (08)66.857.780</h4>
         <h4> Hotline: 0908.067.780 hoặc 0979.067.780</h4>
          <h4> Email: ngocvinh.rdc@gmail.com</h4>
    </div>
    <iframe width="800" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://www.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=855%2F9+Quang+Trung,+G%C3%B2+V%E1%BA%A5p,+Ho+Chi+Minh+City,+Vietnam&amp;aq=0&amp;oq=855%2F9++Quang&amp;sll=10.778843,106.64772&amp;sspn=0.049325,0.084543&amp;ie=UTF8&amp;hq=&amp;hnear=9+Quang+Trung,+10,+G%C3%B2+V%E1%BA%A5p,+H%E1%BB%93+Ch%C3%AD+Minh,+Vietnam&amp;ll=10.831035,106.669028&amp;spn=0.006165,0.010568&amp;t=m&amp;z=14&amp;output=embed"></iframe><br /><small><a href="https://www.google.com/maps?f=q&amp;source=embed&amp;hl=en&amp;geocode=&amp;q=855%2F9+Quang+Trung,+G%C3%B2+V%E1%BA%A5p,+Ho+Chi+Minh+City,+Vietnam&amp;aq=0&amp;oq=855%2F9++Quang&amp;sll=10.778843,106.64772&amp;sspn=0.049325,0.084543&amp;ie=UTF8&amp;hq=&amp;hnear=9+Quang+Trung,+10,+G%C3%B2+V%E1%BA%A5p,+H%E1%BB%93+Ch%C3%AD+Minh,+Vietnam&amp;ll=10.831035,106.669028&amp;spn=0.006165,0.010568&amp;t=m&amp;z=14" style="color:#0000FF;text-align:left">View Larger Map</a></small>
  </div>
</div>